require("../../../../@babel/runtime/helpers/Arrayincludes"), (global.webpackJsonp = global.webpackJsonp || []).push([ [ "pages/home/components/order-home-tips/index" ], {
    "4a6ae": function(e, t, n) {
        var a = n("b12d");
        n.n(a).a;
    },
    6303: function(e, t, n) {
        n.r(t);
        var a = n("ff1a"), o = n.n(a);
        for (var r in a) [ "default" ].indexOf(r) < 0 && function(e) {
            n.d(t, e, function() {
                return a[e];
            });
        }(r);
        t.default = o.a;
    },
    b12d: function(e, t, n) {},
    ed85: function(e, t, n) {
        n.d(t, "b", function() {
            return a;
        }), n.d(t, "c", function() {
            return o;
        }), n.d(t, "a", function() {});
        var a = function() {
            this.$createElement;
            this._self._c;
        }, o = [];
    },
    fd79: function(e, t, n) {
        n.r(t);
        var a = n("ed85"), o = n("6303");
        for (var r in o) [ "default" ].indexOf(r) < 0 && function(e) {
            n.d(t, e, function() {
                return o[e];
            });
        }(r);
        n("4a6ae");
        var i = n("f0c5"), u = Object(i.a)(o.default, a.b, a.c, !1, null, "4fefa4ae", null, !1, a.a, void 0);
        t.default = u.exports;
    },
    ff1a: function(e, t, n) {
        (function(e) {
            var a = n("4ea4").default;
            Object.defineProperty(t, "__esModule", {
                value: !0
            }), t.default = void 0;
            var o = a(n("a34a")), r = a(n("ded3")), i = a(n("c973")), u = n("8f93"), d = n("3be3"), c = n("2224"), l = n("fd0e"), s = n("665c"), f = a(n("0613")), p = n("05dc"), v = {
                setup: function(t, n) {
                    var a = n.emit;
                    (0, l.onBeforeMount)(function() {
                        a("loaded", {
                            init: _
                        });
                    });
                    var v = (0, l.ref)({
                        uuidArr: [],
                        txt: "",
                        actionType: 0,
                        orderType: 0
                    }), m = (0, l.ref)(!1), g = (0, s.useState)(), h = (g.coupeConfig, g.address), b = (0, 
                    l.computed)(function() {
                        return 2 === h.value.length;
                    });
                    function _() {
                        return y.apply(this, arguments);
                    }
                    function y() {
                        return (y = (0, i.default)(o.default.mark(function e() {
                            return o.default.wrap(function(e) {
                                for (;;) switch (e.prev = e.next) {
                                  case 0:
                                    f.default.getters.isLogined ? w() : m.value = !1;

                                  case 1:
                                  case "end":
                                    return e.stop();
                                }
                            }, e);
                        }))).apply(this, arguments);
                    }
                    var x = (0, l.ref)(0);
                    function T() {
                        c.currentTabNew.value = Number(x.value), e.switchTab({
                            url: "/pages/order-list/index"
                        });
                    }
                    function w() {
                        return (0, u.getOrderListInfo)().then(function(e) {
                            var t = e.ret, n = e.data;
                            if (0 === Number(t)) {
                                var a = n || {}, o = a.is_display, i = void 0 === o ? 0 : o, u = a.title_text, d = void 0 === u ? "" : u, c = a.action_type, l = void 0 === c ? 0 : c, s = a.order_uuids, g = void 0 === s ? [] : s, h = a.order_type, _ = void 0 === h ? 0 : h, y = a.to_list_tab, T = void 0 === y ? 0 : y;
                                m.value = i && d, v.value = {
                                    uuidArr: g,
                                    txt: d,
                                    actionType: l,
                                    orderType: _
                                }, x.value = Number(T) || 0, m.value && g.length && (0, p.statistics)("homepage_ongoing_order_expo", (0, 
                                r.default)({
                                    order_amount: String(g.length),
                                    is_evaluate: b.value ? 1 : 0
                                }, f.default.getters.commonStatisticsState));
                            } else m.value = !1;
                        });
                    }
                    return Object.assign({
                        tipsData: v,
                        hasDisplay: m,
                        isTwoAddr: b,
                        goOrder: function() {
                            var e = v.value.actionType, t = v.value.uuidArr;
                            3 === e && T(), [ 1, 2 ].includes(e) && function(e) {
                                var t = v.value, n = t.actionType, a = t.orderType;
                                (0, d.navOrderDetail)({
                                    order_uuid: e,
                                    actionType: n,
                                    orderType: a
                                });
                            }(t[0]), (0, p.statistics)("homepage_ongoing_order_click", (0, r.default)({
                                order_amount: String((null == t ? void 0 : t.length) || 0),
                                module_name: "查看订单",
                                is_evaluate: b.value ? 1 : 0
                            }, f.default.getters.commonStatisticsState));
                        }
                    }, {
                        init: _
                    });
                }
            };
            t.default = v;
        }).call(this, n("543d").default);
    }
} ]), (global.webpackJsonp = global.webpackJsonp || []).push([ "pages/home/components/order-home-tips/index-create-component", {
    "pages/home/components/order-home-tips/index-create-component": function(e, t, n) {
        n("543d").createComponent(n("fd79"));
    }
}, [ [ "pages/home/components/order-home-tips/index-create-component" ] ] ]);